package com.homedo.microservice.open.service.gateway.manager.web.api;

import com.homedo.common.bean.data.RequestData;
import com.homedo.common.bean.data.ResponseData;
import com.homedo.microservice.open.service.gateway.manager.web.api.bean.model.req.DbSourceAReq;
import com.homedo.microservice.open.service.gateway.manager.web.api.bean.model.req.DbSourceUpdateAReq;
import com.homedo.microservice.open.service.gateway.manager.web.api.bean.model.resp.DbSourceAResp;
import com.homedo.microservice.open.service.gateway.manager.web.api.constant.RemoteService4OpenServiceGatewayManagerWebServiceConstant;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@RequestMapping(RemoteService4OpenServiceGatewayManagerWebServiceConstant.SERVICE_ID + "/dbSource")
public interface IDbSourceServiceRemote {

    @PostMapping(value = "detail")
    ResponseData<DbSourceAResp> detail(RequestData<DbSourceAReq> requestData);

    @PostMapping(value = "update")
    ResponseData update(RequestData<DbSourceUpdateAReq> requestData);


}
